package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.bean.wd_ht_build;
import com.bean.wd_ht_room;
import com.dao.wd_ht_roomMapper;
import com.service.RoomService;
@Service
public class RoomServiceImpl implements RoomService{
	@Autowired
    @Qualifier("wd_ht_roomMapper")
	private wd_ht_roomMapper roomDao;
	
	public int deleteByPrimaryKey(String roomId) {
		return roomDao.deleteByPrimaryKey(roomId);
	}

	public int insert(wd_ht_room record) {
		return roomDao.insert(record);
	}

	public int insertSelective(wd_ht_room record) {
		return 0;
	}

	public wd_ht_room selectByPrimaryKey(String roomId) {
		return roomDao.selectByPrimaryKey(roomId);
	}

	public int updateByPrimaryKeySelective(wd_ht_room record) {
		return roomDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(wd_ht_room record) {
		return roomDao.updateByPrimaryKey(record);
	}

	public List<wd_ht_room> SelectAll() {
		return roomDao.SelectAll();
	}

}
